package com.example.stock.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class D300Perform {

    @ExcelProperty(index=0)
    private String date;

    // 上一次突破300日线
    @ExcelProperty("pre_date")
    private String preDate;

    @ExcelProperty("stock")
    private String stock;

    @ExcelProperty("300up")
    private Boolean isYearLineUp;

    @ExcelProperty("dis_pct")
    private Double yearLineUpDisPct;

    @ExcelProperty("wg")
    private Integer wg;

    @ExcelProperty("tag")
    private String tag;

    @ExcelProperty("duration")
    private Integer duration;

    @ExcelProperty("close")
    @NumberFormat("#.##")
    private Double close;

    @ExcelProperty("week_pct")
    @NumberFormat("#.##")
    private Double weekPct;

    @ExcelProperty("category")
    private String category;

    @ExcelProperty("level_point")
    private Double levelPoint;

    @ExcelProperty("increase")
    private Double increase;
}
